local action = _ACTION or ""

solution "GL_example"
    -- location "proj"
    includedirs {"include"}
    files {"libs/*.c"}
    links {"opengl32", "glew32", "mingw32", "SDL2main", "SDL2"}
    buildoptions {"-std=c99", "-Wall"} 
    flags {"EnableSSE2"}
    configurations {"Debug", "Release"}
    configuration "Debug"
        flags {"Symbols"}
        defines {"_DEBUG"}
    configuration "Release"
        flags {"Optimize"}
        defines {"NODEBUG"}

    -- project "cglm"
    --     language "C"
    --     kind "SharedLib"
    --     includedirs {"thrid_party/cglm-0.4.1/include/cglm"}
    --     files {"thrid_party/cglm-0.4.1/src/*.c"}
    --     excludes {"libs/*.c"}

    project "oscillofun"
        language "C"
        kind "ConsoleApp"
        files {"src/*.c"}
        links {"FLAC"}

